-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move IVTs from AssemblyInfo into project files #10573
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it builds
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So happy I won't have to see a Properties
folder in solution explorer any more ❤️
...t.AspNetCore.Mvc.Razor.Extensions/test/Microsoft.AspNetCore.Mvc.Razor.Extensions.Test.csproj
Outdated
Show resolved
Hide resolved
...piler/Microsoft.CodeAnalysis.Razor.Compiler/src/Microsoft.CodeAnalysis.Razor.Compiler.csproj
Outdated
Show resolved
Hide resolved
<!-- RestrictedInternalsVisibleTo --> | ||
<ItemDefinitionGroup> | ||
<RestrictedInternalsVisibleTo> | ||
<Visible>false</Visible> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's this for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It probably doesn't have much impact, but it matches the item definition for InternalsVisibleTo
in arcade:
I've been meaning to do this for a long while now. This change removes all of the IVTs from
AssemblyInfo.cs
files and places them in the relevant project file. I've also added a target to processRestrictedInternalsVisibleTo
, though that's only used by MS.ANC.Razor.LanguageServer to restrict the IVT to the "Microsoft.AspNetCore.Razor.LanguageServer.Hosting" namespace.